﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="LibrarianView.aspx.cs" Inherits="LibrarianView" Title="Librarian View" MaintainScrollPositionOnPostback="true" %>
<%@ MasterType TypeName="MasterPage"  %>

<%@ Register src="ManageEmployees.ascx" tagname="ManageEmployees" tagprefix="ucManageEmployees" %>
<%@ Register Src="ManagePatrons.ascx" TagName="ManagePatrons" TagPrefix="ucManagePatrons" %>
<%@ Register src="AlterAnnouncement.ascx" tagname="AlterAnnouncement" tagprefix="ucAlterAnnouncement" %>
<%@ Register Src="AlterEvent.ascx" TagName="AlterEvent" TagPrefix="ucAlterEvent" %>
<%@ Register Src="CheckInBook.ascx" TagName="CheckInBook" TagPrefix="ucCheckInBook"%>
<%@ Register Src="CheckOutBook.ascx" TagName="CheckOutBook" TagPrefix="ucCheckOutBook" %>
<%@ Register Src="ManageBooks.ascx" TagName="ManageBooks" TagPrefix="ucManageBooks" %>
<%@ Register Src="EnterPublisher.ascx" TagName="EnterPublisher" TagPrefix="ucEnterPublisher" %>
<%@ Register Src="LibrarianViewReservedBooks.ascx" TagName="LibrarianViewReservedBooks" TagPrefix="ucLibrarianViewReservedBooks" %>
<%@ Register Src="login2.ascx" TagName="login" TagPrefix="uclogin" %>
<%@ Register Src="SendNewsLetter.ascx" TagName="SendNewsLetter" TagPrefix="ucSendNewsLetter" %>
<%@ Register Src="LibraryDetails.ascx" TagName="LibraryDetails" TagPrefix="ucLibraryDetails"%>
<%@ Register Src="ToReportButtons.ascx" TagName="ToReportButtons" TagPrefix="ucToReportButtons"%>
<%@ Register Src="PayFines.ascx" TagName="PayFines" TagPrefix="ucPayFines"%>
<%--<%@ Register Src="LibrarianReports.ascx" TagName="LibrarianReports" TagPrefix"ucLibrarianReports" %>--%>

<%--Left Side Content--%>
<asp:Content ID="Content1" ContentPlaceHolderID="leftSide" Runat="Server">

<%--Drop Down List to select modes--%>
    <asp:DropDownList ID="ddSelectMode" runat="server" AutoPostBack="True"  OnSelectedIndexChanged="ddSelectMode_SelectedIndexChanged">
        <asp:ListItem Text="Browse" Value="Browse" ></asp:ListItem>
        <asp:ListItem Text="Design" Value="Design"></asp:ListItem>
        <asp:ListItem Text="Catalog" Value="Catalog"></asp:ListItem>
    </asp:DropDownList>
    
    <%--Link button to reset screen--%>
    <asp:LinkButton ID="lbReset" runat="server" onclick="lbReset_Click">Reset</asp:LinkButton>
    
    <%--Web part manager to manage the modules--%>
    <asp:WebPartManager ID="WebPartManager1" runat="server"></asp:WebPartManager>
    
    <%--Web part zone for left side--%>
    <asp:WebPartZone ID="WebPartZoneLeft" runat="server" LayoutOrientation="Vertical"
                     HeaderText="Left Column">
                     
        <%--Zone Template, this is where ascx files go--%>
        <ZoneTemplate>
            <ucToReportButtons:ToReportButtons ID="ToReportButtons1" Title="Reports" runat="server" />
            
            <%--<ucEnterPublisher:EnterPublisher ID="EnterPublisher1" Title="Publisher Manager" runat="server" />--%>
            <%--<ucSendNewsLetter:SendNewsLetter ID="SendNewsLetter1" Title="News Letter Manager" runat="server" />--%>
        </ZoneTemplate>
    </asp:WebPartZone>
    
    <%--Catalog zone--%>
    <asp:CatalogZone ID="CatalogZone1" runat="server" >
        <ZoneTemplate>
            <asp:DeclarativeCatalogPart ID="DeclarativeCatalogPart1" runat="server">
                <WebPartsTemplate>
                    <%--<uclogin:login ID="login1" Title="Login" runat="server" />--%>
                    <ucManageBooks:ManageBooks ID="ManageBooks1" Title="Book Manager" runat="server" />
                    <ucAlterEvent:AlterEvent ID="AlterEvent1" Title="Events Manager" runat="server" />
                    <ucAlterAnnouncement:AlterAnnouncement ID="AlterAnnouncement1" Title="Announcement Manager" runat="server" />
                    <ucEnterPublisher:EnterPublisher ID="EnterPublisher1" Title="Publisher Manager" runat="server" />
                    <ucSendNewsLetter:SendNewsLetter ID="SendNewsLetter1" Title="News Letter Manager" runat="server" />
                    <ucCheckOutBook:CheckOutBook ID="CheckOutBook1" Title="Check Out Book" runat="server" />
                    <ucCheckInBook:CheckInBook ID="CheckInBook1" Title="Check In Book" runat="server" />
                    <uclogin:login ID="Login1" Title="Login" runat="server" />
                    <ucLibrarianViewReservedBooks:LibrarianViewReservedBooks ID="ReservedBooks1" Title="Reserved Books Manager" runat="server" />
                    <ucManageEmployees:ManageEmployees ID="ManageEmployees1" Title="ManageEmployees" runat="server" />
                    <ucManagePatrons:ManagePatrons ID="ManagePatrons1" Title="Manage Patrons" runat="server" />
                    <ucPayFines:PayFines ID="PayFines1" Title="Pay Fines" runat="server" />
                </WebPartsTemplate>
            </asp:DeclarativeCatalogPart>
        </ZoneTemplate>
    </asp:CatalogZone>
</asp:Content>


<%--Center column--%>
<asp:Content ID="Content3" ContentPlaceHolderID="center" Runat="Server">

    <asp:WebPartZone ID="WebPartZoneCenter" runat="server" LayoutOrientation="Vertical"
                     HeaderText="Center Column">
        <ZoneTemplate>
            <ucCheckOutBook:CheckOutBook ID="CheckOutBook1" Title="Check Out Book" runat="server" />
            <ucCheckInBook:CheckInBook ID="CheckInBook1" Title="Check In Book" runat="server" />
            <ucManagePatrons:ManagePatrons ID="ManagePatrons1" Title="Manage Patrons" runat="server" />
            <ucLibrarianViewReservedBooks:LibrarianViewReservedBooks ID="ReservedBooks1" Title="Reserved Books Manager" runat="server" />
            <ucManageBooks:ManageBooks ID="ManageBooks1" Title="Book Manager" runat="server" />
            <ucManageEmployees:ManageEmployees ID="ManageEmployees1" Title=" " runat="server" />
            <ucPayFines:PayFines ID="PayFines1" Title="Pay Fines" runat="server" />            
            <ucAlterEvent:AlterEvent ID="AlterEvent1" Title="Events Manager" runat="server" />
            <ucAlterAnnouncement:AlterAnnouncement ID="AlterAnnouncement1" Title="Announcement Manager" runat="server" />
            <ucLibraryDetails:LibraryDetails ID="LibraryDetails1" Title="Library Details Manager" runat="server" />
        </ZoneTemplate>
    </asp:WebPartZone>

</asp:Content>

